<template>
    <button class="Avie_btn_confirm" @click="Change('click')" type="button">{{ buttonName }}</button>
</template>

<script>
export default {
    props: {
        buttonName: {
            type: String,
            default: ''
        }
    },
    methods: {
        Change(type) {
            this.$emit('EventHandler', type, this.$attrs.prop || 'btnClick');
        }
    }
};
</script>

<style></style>
